import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Beijing from '@/pages/Beijing'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld,
      redirect: '/beijing'

    },
    {
      path: '/beijing', 
      name: 'beijing',
      component: Beijing
    }
  ]
})
